import BlankView from '@/layouts/BlankView'
const qms=[
    {
      path: 'index',
      name: '工作台',
      meta: {
        icon: 'dashboard',
      },
      component: () => import('@/module/qms/pages/home'),
    },
    {
      path: 'std',
      name: '质量建模',
      meta: {
        icon: 'setting',
      },
      component: BlankView,
      children: [
        {
          path: 'item',
          name: '质检标准',
          component: () => import('@/pages/form/basic'),
        },
        {
          path: 'sample',
          name: '抽样策略',
          component: () => import('@/pages/form/step'),
        },
        {
          path: 'bug',
          name: '缺陷库',
          component: () => import('@/pages/form/step'),
        }
      ]
    },
    {
      path: 'inspect',
      name: '质量检查',
      meta: {
        icon: 'experiment',
      },
      component: BlankView,
      children: [
        {
          path: 'iqc',
          name: '来料检（IQC）',
          component: () => import('@/pages/form/basic'),
        },
        {
          path: 'piqc',
          name: '生产过程检（IPQC）',
          component: () => import('@/pages/form/step'),
        },
        {
          path: 'fqc',
          name: '完工检（FQC）',
          component: () => import('@/pages/form/step'),
        },
        {
          path: 'oqc',
          name: '出库检（OQC）',
          component: () => import('@/pages/form/step'),
        }
      ]
    },
    {
      path: 'un',
      name: '不合格品管理',
      meta: {
        icon: 'question-circle',
      },
      component: BlankView,
      children: [
        {
          path: 'mark',
          name: '标记',
          component: () => import('@/pages/form/basic'),
        },
        {
          path: 'frozen',
          name: '冻结',
          component: () => import('@/pages/form/basic'),
        },
        {
          path: 'piqc',
          name: '隔离',
          component: () => import('@/pages/form/step'),
        },
        {
          path: 'judge',
          name: '判定',
          component: () => import('@/pages/form/step'),
        },
        {
          path: 'deal',
          name: '处理',
          component: () => import('@/pages/form/step'),
        }
      ]
    },
    {
      path: 'analysis',
      name: '质量分析',
      meta: {
        icon: 'area-chart',
      },
      component: BlankView,
      children: [
        {
          path: 'spc',
          name: '监控看板',
          component: () => import('@/pages/form/basic'),
        },
        {
          path: 'bug',
          name: '质量分析',
          component: () => import('@/pages/form/basic'),
        }
      ]
    }
  ]

export default qms;